/**
 * @param {string} s
 * @return {number}
 */
var scoreOfParentheses = function(s) {
    let res = 0;
    const stack = [];
    for(let i = 0; i < s.length; i++){
        if(s[i] === '(') stack.push('(');
        else{
            
        }
    }
};

let s = "(()(()))";